package com.zzy.edu.entity.vo.subject;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author KAZU
 * @Date 2023/1/11 22:15
 * @Version 1.0
 */
@SuppressWarnings({"all"})
/**
 * 一级分类
 * */
@Data
public class OneSubject {
	
	@ApiModelProperty(value = "ID")
	private String id;
	
	@ApiModelProperty(value = "标签")
	private String title;
	
	@ApiModelProperty(value = "二级分类集合")
	private List<TwoSubject> children = new ArrayList<>();
	
}
